using System;
using System.Drawing;
namespace Circus.Syntax
{
	public class TextUndo
	{
		private int start;
		private int len;
		private Point startPt;
		private Point endPt;
		private string text = string.Empty;
		public int Start
		{
			get
			{
				return this.start;
			}
			set
			{
				this.start = value;
			}
		}
		public int Len
		{
			get
			{
				return this.len;
			}
			set
			{
				this.len = value;
			}
		}
		public string Text
		{
			get
			{
				return this.text;
			}
			set
			{
				this.text = value;
			}
		}
		public Point StartPt
		{
			get
			{
				return this.startPt;
			}
			set
			{
				this.startPt = value;
			}
		}
		public Point EndPt
		{
			get
			{
				return this.endPt;
			}
			set
			{
				this.endPt = value;
			}
		}
		public TextUndo(int start, int len, string text)
		{
			this.start = start;
			this.len = len;
			this.text = text;
		}
		public TextUndo(Point start, Point end, string text)
		{
			this.startPt = start;
			this.endPt = end;
			this.text = text;
		}
	}
}
